@import '@/app/styles/variables';

.nav {
  margin-left: auto;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
}

.ol {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 32px;
}
.navMobile {
  z-index: 1500;
  min-width: 176px;
  padding: 24px;
  position: absolute;
  top: calc(100% - 9px);
  left: 15px;

  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.06), 0px 2px 12px 0px rgba(0, 0, 0, 0.1);

  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.navItem {
  color: inherit;
  cursor: pointer;
  user-select: none;
  border: none;
  text-decoration: none;
  transition: color 0.1s;

  &:hover {
    color: #337cec;
  }
}

@include media(xs) {
  .navItem {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
  }
  .ol {
    flex-direction: column;
  }

  .navDesktop {
    display: none;
  }

  .navMobile {
    display: flex;
  }
}
